package net.expectx.common.single.third.yozodcs;

import net.expectx.common.single.base.BaseResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Test {
    private static final Logger LOGGER = LoggerFactory.getLogger(Test.class);

    public static void main(String[] args) throws Exception {
        BaseResult tokenResult = YoZoDcsServicesUtils.onlineFile("http://titi-info.oss-cn-beijing.aliyuncs.com/Expect-X-Test/template/20190426170053426_653.docx", 1);
      //  LOGGER.info(tokenResult.toString());
       // System.out.println(HttpUtils.doUploadFile("http://www.yozodcs.com/","testUpload","C:\\Users\\Administrator\\Desktop\\test_data_device.xls"));
        LOGGER.info(YoZoDcsServicesUtils.onlineFileUpload("C:\\Users\\Administrator\\Desktop\\模板使用规则.doc",1).toString());
        System.out.println(YoZoDcsServicesUtils.onlineFileInputDirUpload("890e8ab8-323f-4aae-adb5-ccad0713ff4e/test_data_device.xls",1));

    }
}
